package com.study.a19Max;

import java.util.ArrayList;
import java.util.Collections;

public class Test {
    public static void main(String[] args) {

        ArrayList<Integer> list=new ArrayList<>();
        Collections.addAll(list,10,15,52,200,300);

        MyThread mt1=new MyThread(list);
        MyThread mt2=new MyThread(list);
        mt1.setName("抽奖箱1");
        mt2.setName("抽奖箱2");
        mt1.start();
        mt2.start();

    }
}
